﻿using DingTalk.Api.Response;
using System.Collections.Generic;

namespace GBT.IBusiness
{
    public interface IDDApi
    {
        OapiGettokenResponse GetAccessToken();

        List<OapiDepartmentGetResponse> GetDepartmentList(string accessToken);

        OapiUserGetResponse GetUser(string userId, string accessToken);

        List<OapiUserGetResponse> GetAllUserList();
    }
}
